home *** CD-ROM | disk | FTP | other *** search
/ Aminet 41 / Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso / Aminet / game / role / oangband.lha / Oangband050b / user / pref.prf < prev    next >
Text File  |  2000-09-25  |  3KB  |  254 lines

  1. # File: pref.prf
  2.  
  3. #
  4. # This file defines "default" actions of various kinds
  5. #
  6. # This file includes, if appropriate, various "sub-files"
  7. #
  8. # See "lib/help/command.txt" and "src/files.c" for more information.
  9. #
  10. # Note that the "X" key is mapped in both keysets to the key sequence
  11. # "w0", which will "swap weapons" as long as both weapons contain the
  12. # inscription "@0".  For example, inscribe your main weapon as "@1@0"
  13. # and your digger (or secondary weapon) as "@2@0".
  14. #
  15.  
  16.  
  17. ##### Force certain options #####
  18.  
  19. ## # Option -- Default to original commands
  20. ## X:rogue_like_commands
  21.  
  22. ## # Option -- Default to roguelike commands
  23. ## Y:rogue_like_commands
  24.  
  25.  
  26. ##### Original Keyset Mappings #####
  27.  
  28. # Stay still
  29. A:,
  30. C:0:5
  31.  
  32. # Movement
  33. A:;1
  34. C:0:1
  35. A:;2
  36. C:0:2
  37. A:;3
  38. C:0:3
  39. A:;4
  40. C:0:4
  41. A:;6
  42. C:0:6
  43. A:;7
  44. C:0:7
  45. A:;8
  46. C:0:8
  47. A:;9
  48. C:0:9
  49.  
  50. # Hack -- Return
  51. A:\r
  52. C:0:^J
  53.  
  54. # Hack -- Commit suicide
  55. A:Q
  56. C:0:^K
  57.  
  58. # Hack -- Commit suicide
  59. A:Q
  60. C:0:^C
  61.  
  62. # Hack -- swap equipment
  63. A:w0
  64. C:0:X
  65.  
  66. # Hack -- Oangband convenience
  67. A:R*\r
  68. C:0:x
  69.  
  70.  
  71. ##### Roguelike Keyset Mappings #####
  72.  
  73. # Run
  74. A:.
  75. C:1:,
  76.  
  77. # Stay still
  78. A:,
  79. C:1:.
  80.  
  81. # Stay still
  82. A:,
  83. C:1:5
  84.  
  85. # Movement
  86. A:;1
  87. C:1:1
  88. A:;2
  89. C:1:2
  90. A:;3
  91. C:1:3
  92. A:;4
  93. C:1:4
  94. A:;6
  95. C:1:6
  96. A:;7
  97. C:1:7
  98. A:;8
  99. C:1:8
  100. A:;9
  101. C:1:9
  102.  
  103. # Movement (rogue keys)
  104. A:;1
  105. C:1:b
  106. A:;2
  107. C:1:j
  108. A:;3
  109. C:1:n
  110. A:;4
  111. C:1:h
  112. A:;6
  113. C:1:l
  114. A:;7
  115. C:1:y
  116. A:;8
  117. C:1:k
  118. A:;9
  119. C:1:u
  120.  
  121. # Running (shift + rogue keys)
  122. A:.1
  123. C:1:B
  124. A:.2
  125. C:1:J
  126. A:.3
  127. C:1:N
  128. A:.4
  129. C:1:H
  130. A:.6
  131. C:1:L
  132. A:.7
  133. C:1:Y
  134. A:.8
  135. C:1:K
  136. A:.9
  137. C:1:U
  138.  
  139. # Altering (control + rogue keys)
  140. A:+1
  141. C:1:^B
  142. A:+2
  143. C:1:^J
  144. A:+3
  145. C:1:^N
  146. A:+4
  147. C:1:^H
  148. A:+6
  149. C:1:^L
  150. A:+7
  151. C:1:^Y
  152. A:+8
  153. C:1:^K
  154. A:+9
  155. C:1:^U
  156.  
  157. # Allow use of the "tunnel" command
  158. A:T
  159. C:1:^T
  160.  
  161. # Allow use of the "destroy" command
  162. A:k
  163. C:1:^D
  164.  
  165. # Locate player on map
  166. A:L
  167. C:1:W
  168.  
  169. # Browse a book (Peruse)
  170. A:b
  171. C:1:P
  172.  
  173. # Jam a door (Spike)
  174. A:j
  175. C:1:S
  176.  
  177. # Toggle search mode
  178. A:S
  179. C:1:#
  180.  
  181. # Use a staff (Zap)
  182. A:u
  183. C:1:Z
  184.  
  185. # Take off equipment
  186. A:t
  187. C:1:T
  188.  
  189. # Fire an item
  190. A:f
  191. C:1:t
  192.  
  193. # Bash a door (Force)
  194. A:B
  195. C:1:f
  196.  
  197. # Look around (examine)
  198. A:l
  199. C:1:x
  200.  
  201. # Aim a wand (Zap)
  202. A:a
  203. C:1:z
  204.  
  205. # Zap a rod (Activate)
  206. A:z
  207. C:1:a
  208.  
  209. # Hack -- Commit suicide
  210. A:Q
  211. C:1:^C
  212.  
  213. # Hack -- swap equipment
  214. A:w0
  215. C:1:X
  216.  
  217. # Time of day
  218. A:^T
  219. C:1:'
  220.  
  221. # Repeat last command
  222. A:n
  223. C:1:[
  224.  
  225. # Message colors
  226. %:message.prf
  227.  
  228. ##### System Specific Subfiles #####
  229.  
  230. ?:[IOR [EQU $SYS xaw] [EQU $SYS x11]]
  231. %:pref-x11.prf
  232.  
  233. ?:[EQU $SYS gcu]
  234. %:pref-gcu.prf
  235.  
  236. ?:[EQU $SYS ami]
  237. %:pref-ami.prf
  238.  
  239. ?:[EQU $SYS mac]
  240. %:pref-mac.prf
  241.  
  242. ?:[IOR [EQU $SYS win] [EQU $SYS dos] [EQU $SYS ibm]]
  243. %:pref-win.prf
  244.  
  245. ?:[EQU $SYS emx]
  246. %:pref-emx.prf
  247.  
  248. ?:[EQU $SYS acn]
  249. %:pref-acn.prf
  250.  
  251. ?:1
  252.  
  253.  
  254.